{include file="Public:header" /}
<body>
<div class="wrap">
    <!--碎屑路径-->
    <div class="debris_nav">
        <ol class="breadcrumb">
            <li><a href="#">系统设置</a></li>
            <li class="active">网站设置</li>
        </ol>
    </div>
    <div class="blank"></div>
    <!--列表内容-->
    <div class="content" id="content_page">
        <form method="post" action="{:url('menu/edit_ok')}">
            <input name="id" type="hidden" value="{$res.id}" class="form-control" >
            <input name="type" type="hidden" value="1" class="form-control"  size="20">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_add">
            <tr>
                <td valign="top">菜单级别</td>
                <td>
                    <select name="parent_id" class="form-control" >
                        <option value="0">顶级分类</option>
                        {volist name="menuAdmin" id="vo"}

                        <option value="{$vo.id}"  {if condition="$vo.id eq $res.parent_id"}selected{/if} >{$vo.title}</option>

                        {/volist}
                    </select>
                </td>
            </tr>
            <tr>
                <td valign="top">导航标题</td>
                <td>
                    <input name="title" value="{$res.title}" class="form-control" placeholder="" size="60"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">模型</td>
                <td>
                    <input name="m" value="{$res.model}" class="form-control"size="15"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>如：Admin</span>
                </td>
            </tr>
            <tr>
                <td valign="top">控制器</td>
                <td>
                    <input name="c" value="{$res.controller}" class="form-control"size="15"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>如：Article</span>
                </td>
            </tr>
            <tr>
                <td valign="top">方法</td>
                <td>
                    <input name="a" value="{$res.action}" class="form-control"size="15"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>如：index</span>
                </td>
            </tr>
            <tr>
                <td valign="top">参数</td>
                <td>
                    <input name="p" value="{$res.param}" class="form-control"size="30"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>如：?page=1&k=百度</span>
                </td>
            </tr>
            <tr>
                <td valign="top">CSS样式</td>
                <td>
                    <input name="css" value="{$res.css}" class="form-control"  size="20"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">排序</td>
                <td>
                    <input name="sort" value="{$res.sort}" class="form-control" size="5"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">显示</td>
                <td>
                    <select name="is_show" class="form-control" autocomplete="off">
                        {$show}

                    </select>
                </td>
            </tr>
            <tr>
            <tr>
            <tr>
                <td valign="top"></td>
                <td>
                    <input type="submit" class="btn" value="确定">
                </td>
            </tr>
            <tr>
        </table>
        </form>
    </div>
    <!--列表内容-->
</div>
</body>

</html>